package org.exez.modules.visitor.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description: 事业单位表
 * @Author: exez-boot
 * @Date:   2020-06-04
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="事业单位添加对象", description="事业单位添加对象")
public class InstitutionSaveVO {


	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称",required = true)
	@Max(value = 20)
	@NotBlank(message = "名称不能为空")
	private String institutionName;

	/**单位编码*/
	@Excel(name = "单位编码", width = 15)
	@ApiModelProperty(value = "单位编码",required = true)
	@Max(value = 30)
	@NotBlank(message = "单位编码不能为空")
	private String code;

//	/**预留时间*/
//	@Excel(name = "预留时间", width = 15)
//	@ApiModelProperty(value = "预留时间（分钟）")
//	private java.lang.Integer reserveTime;

}
